package com.wan.personnel2.service.impl;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.wan.personnel2.entity.DocumentInf;
import com.wan.personnel2.dao.DocumentInfMapper;
import com.wan.personnel2.service.DocumentInfService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DocumentInfServiceImpl extends ServiceImpl<DocumentInfMapper, DocumentInf> implements DocumentInfService {
    @Autowired
    private DocumentInfMapper mapper;


    public boolean addFile(DocumentInf doc) {
//        调用ar模式新增
        boolean insert = doc.insert();
        return insert;
    }




}
